﻿using ERP.Common.Util.Interfaces;
using ERP.SYS.Model.Entity;
using ERP.SYS.Model.VO;

namespace ERP.SYS.Interfaces;

public interface IRoleService : IBaseService<SysRole>
{
    List<SysRolePermission> GetRolePermissions();
    Task<List<MenuVO>> LoadMenuByRoleId(int roleId);
    Task<SysRoleUser> SelectUserRoleByNameAndPassword(string username, string password);
}
